﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace QCM.Contract1
{
    [DataContract]
    public class Reponse
    {
        [DataMember]
        public int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        [DataMember]
        public string text;

        public string Text
        {
            get { return text; }
            set { text = value; }
        }

        [DataMember]
        public int valeur;

        public int Valeur
        {
            get { return valeur; }
            set { valeur = value; }
        }

        public Reponse(int id, string text, int valeur)
        {
            this.Id = id;
            this.Text = text;
            this.Valeur = valeur;
        }
    }
}
  
